package com.xltt.vehicleControl.fragment;

import android.content.Intent;
import android.os.Bundle;
import android.view.LayoutInflater;
import android.view.View;
import android.view.ViewGroup;

import androidx.annotation.Nullable;
import butterknife.BindView;
import butterknife.OnClick;

import com.xltt.vehicleControl.R;
import com.xltt.vehicleControl.activity.LoginActivity;
import com.xltt.vehicleControl.base.BaseFragment;
import com.xltt.vehicleControl.util.ActivityManager;
import com.xltt.vehicleControl.view.SubmitButton;

public class VehicleBindTipsFragment extends BaseFragment {

    @BindView(R.id.login_again)
    SubmitButton mLoginAgain;
    @Override
    public View initView(LayoutInflater inflater, @Nullable ViewGroup container, @Nullable Bundle savedInstanceState) {
        return inflater.inflate(R.layout.vehicle_bind_tips_fragment, container, false);
    }

    @OnClick({R.id.login_again})
    public void onViewClicked(View view) {
        startActivity(new Intent(getActivity(),LoginActivity.class));
        ActivityManager.getInstance().finishAllActivities(LoginActivity.class);
    }

}
